package tech.daoxuan.loadconfig.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import tech.daoxuan.loadconfig.entity.Student;

/**
 * @ClassName StudentController
 * @Description TODO
 * @Author 10983
 * @Date 2019/7/21 14:21
 * @Version 1.0
 */
@RestController
public class StudentController {

    @Autowired
    private Student student;

    @GetMapping("/stu")
    public Student get(){
        return student;
    }
}
